//
//  DownTypeCell.h
//  搜索控制器
//
//  Created by houzhen on 2017/12/15.
//  Copyright © 2017年 multway. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void (^clickTypeBlock)(UIButton *button);
typedef void (^clickTagBlock)(UIButton *button);

@interface DownTypeCell : UITableViewCell
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;
@property (strong, nonatomic) IBOutlet UIScrollView *scrollView;

@property (nonatomic,assign) BOOL isScroll;
/**标签数组*/
@property (nonatomic,strong) NSArray *tagArray;
/**类型数组*/
@property (nonatomic,strong) NSArray *typeArray;
/***/
@property (nonatomic,strong) UIButton *typeSelectBtn;

@property (nonatomic,copy) clickTypeBlock clickTypeBlock;
@property (nonatomic,copy) clickTagBlock clickTagBlock;

-(void)setCellWithtagArray:(NSArray *)tagArray itemSize:(CGSize)size searchDic:(NSMutableDictionary  *)dic;
-(void)setCellWithtypeArray:(NSArray *)typeArray itemSize:(CGSize)size searchDic:(NSMutableDictionary  *)dic;
@end
